package Test11;

public class Cat extends Amimal {

    public void sleep() {
        System.out.println(name + " 正在喵喵喵");
    }

    public static void main(String[] args) {
        Cat cat = new Cat();
        cat.age = 20;
        cat.name = "sss";
       System.out.println(cat.age = 10);
       System.out.println(cat.name);
    }
}

